home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shells / tcshsrc.zoo / tcsh / tc.const.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-01  |  14.3 KB  |  301 lines

  1. /* $Header: /home/hyperion/mu/christos/src/sys/tcsh-6.00/RCS/tc.const.c,v 3.3 1991/08/05 23:02:13 christos Exp $ */
  2. /*
  3.  * sh.const.c: String constants for tcsh.
  4.  */
  5. /*-
  6.  * Copyright (c) 1980, 1991 The Regents of the University of California.
  7.  * All rights reserved.
  8.  *
  9.  * Redistribution and use in source and binary forms, with or without
  10.  * modification, are permitted provided that the following conditions
  11.  * are met:
  12.  * 1. Redistributions of source code must retain the above copyright
  13.  *    notice, this list of conditions and the following disclaimer.
  14.  * 2. Redistributions in binary form must reproduce the above copyright
  15.  *    notice, this list of conditions and the following disclaimer in the
  16.  *    documentation and/or other materials provided with the distribution.
  17.  * 3. All advertising materials mentioning features or use of this software
  18.  *    must display the following acknowledgement:
  19.  *    This product includes software developed by the University of
  20.  *    California, Berkeley and its contributors.
  21.  * 4. Neither the name of the University nor the names of its contributors
  22.  *    may be used to endorse or promote products derived from this software
  23.  *    without specific prior written permission.
  24.  *
  25.  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  26.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  27.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  28.  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  29.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  30.  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  31.  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  32.  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  33.  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  34.  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  35.  * SUCH DAMAGE.
  36.  */
  37. #include "config.h"
  38. RCSID("$Id: tc.const.c,v 3.3 1991/08/05 23:02:13 christos Exp $")
  39. #include "sh.h"
  40.  
  41. Char STRlogout[]        = { 'l', 'o', 'g', 'o', 'u', 't', '\0' };
  42. Char STRautologout[]    = { 'a', 'u', 't', 'o', 'l', 'o', 'g', 'o', 'u', 't', 
  43.                 '\0' };
  44. Char STRdefautologout[] = { '6', '0', '\0' };
  45. Char STRautomatic[]     = { 'a', 'u', 't', 'o', 'm', 'a', 't', 'i', 'c', '\0' };
  46. Char STRaout[]          = { 'a', '.', 'o', 'u', 't', '\0' };
  47. Char STRtty[]           = { 't', 't', 'y', '\0' };
  48. Char STRany[]           = { 'a', 'n', 'y', '\0' };
  49. Char STRstatus[]        = { 's', 't', 'a', 't', 'u', 's', '\0' };
  50. Char STR0[]             = { '0', '\0' };
  51. Char STR1[]             = { '1', '\0' };
  52. Char STRNULL[]          = { '\0' };
  53. Char STRtcsh[]          = { 't', 'c', 's', 'h', '\0' };
  54. Char STRhome[]          = { 'h', 'o', 'm', 'e', '\0' };
  55. Char STRuser[]          = { 'u', 's', 'e', 'r', '\0' };
  56. Char STRterm[]          = { 't', 'e', 'r', 'm', '\0' };
  57. Char STRversion[]       = { 'v', 'e', 'r', 's', 'i', 'o', 'n', '\0' };
  58. Char STRuid[]           = { 'u', 'i', 'd', '\0' };
  59. Char STRgid[]           = { 'g', 'i', 'd', '\0' };
  60. Char STRHOST[]          = { 'H', 'O', 'S', 'T', '\0' };
  61. Char STRHOSTTYPE[]      = { 'H', 'O', 'S', 'T', 'T', 'Y', 'P', 'E', '\0' };
  62. Char STRedit[]          = { 'e', 'd', 'i', 't', '\0' };
  63. Char STRaddsuffix[]     = { 'a', 'd', 'd', 's', 'u', 'f', 'f', 'i', 'x', '\0' };
  64. Char STRshell[]         = { 's', 'h', 'e', 'l', 'l', '\0' };
  65. Char STRtmpsh[]         = { '/', 't', 'm', 'p', '/', 's', 'h', '\0' };
  66. Char STRverbose[]       = { 'v', 'e', 'r', 'b', 'o', 's', 'e', '\0' };
  67. Char STRecho[]          = { 'e', 'c', 'h', 'o', '\0' };
  68. Char STRpath[]          = { 'p', 'a', 't', 'h', '\0' };
  69. Char STRprompt[]        = { 'p', 'r', 'o', 'm', 'p', 't', '\0' };
  70. Char STRprompt2[]       = { 'p', 'r', 'o', 'm', 'p', 't', '2', '\0' };
  71. Char STRprompt3[]       = { 'p', 'r', 'o', 'm', 'p', 't', '3', '\0' };
  72. Char STRcwd[]           = { 'c', 'w', 'd', '\0' };
  73. Char STRstar[]          = { '*', '\0' };
  74. Char STRdot[]           = { '.', '\0' };
  75. Char STRhistory[]     = { 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
  76. Char STRhistfile[]     = { 'h', 'i', 's', 't', 'f', 'i', 'l', 'e', '\0' };
  77. Char STRsource[]        = { 's', 'o', 'u', 'r', 'c', 'e', '\0' };
  78. Char STRmh[]            = { '-', 'h', '\0' };
  79.  
  80. #ifndef __MINT__
  81. Char STRtildothist[]    = { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r', 
  82.                     'y', '\0' };
  83. #else
  84. Char STRtildothist[]    = { '~', '/', 'h', 'i', 's', 't', 'o', 'r', 'y',
  85.                     '.', 'c', 's', 'h', '\0' };
  86. #endif
  87.  
  88. #ifdef CSHDIRS
  89. # ifndef __MINT__
  90. Char STRdirfile[]     = { '~', '/', '.', 'c', 's', 'h', 'd', 'i', 'r',
  91.                           's', '\0' };
  92. Char STRsldtdirs[]    = { '/', '.', 'c', 's', 'h', 'd', 'i', 'r', 's', '\0' };
  93. # else
  94. Char STRdirfile[]     = { '~', '/', 'c', 's', 'h', 'd', 'i', 'r', 's',
  95.                           '.', 'c', 's', 'h', '\0' };
  96. Char STRsldtdirs[]    = { '/', 'c', 's', 'h', 'd', 'i', 'r', 's', '.',
  97.               'c', 's', 'h', '\0' };
  98. # endif
  99. Char STRsavedirs[]    = { 's', 'a', 'v', 'e', 'd', 'i', 'r', 's', '\0' };
  100. #endif
  101.  
  102. Char STRargv[]          = { 'a', 'r', 'g', 'v', '\0' };
  103. Char STRsavehist[]      = { 's', 'a', 'v', 'e', 'h', 'i', 's', 't', '\0' };
  104.  
  105. #ifndef __MINT__
  106. Char STRsldthist[]      = { '/', '.', 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
  107. #else
  108. Char STRsldthist[]      = { '/', 'h', 'i', 's', 't', 'o', 'r', 'y', '.',
  109.                 'c', 's', 'h', '\0' };
  110. #endif
  111.  
  112. Char STRnormal[]        = { 'n', 'o', 'r', 'm', 'a', 'l', '\0' };
  113.  
  114. #ifndef __MINT__
  115. Char STRsldtlogout[]    = { '/', '.', 'l', 'o', 'g', 'o', 'u', 't', '\0' };
  116. #else
  117. Char STRsldtlogout[]    = { '/', 'l', 'o', 'g', 'o', 'u', 't', '.', 'c', 's',
  118.                 'h', '\0' };
  119. #endif
  120. Char STRjobs[]          = { 'j', 'o', 'b', 's', '\0' };
  121. Char STRsymhash[]       = { '#', ' ', '\0' };
  122. Char STRsymarrow[]      = { '>', ' ', '\0' };
  123. Char STRmquestion[]     = { '%', 'R', '?' | QUOTE, ' ', '\0' };
  124. Char STRCORRECT[]       = { 'C', 'O', 'R', 'R', 'E', 'C', 'T', '>', '%', 'R', 
  125.                 ' ', '(', 'y', '|', 'n', ')', '?' | QUOTE, ' ', 
  126.                 '\0' };
  127. Char STRunalias[]       = { 'u', 'n', 'a', 'l', 'i', 'a', 's', '\0' };
  128. Char STRalias[]         = { 'a', 'l', 'i', 'a', 's', '\0' };
  129. Char STRprecmd[]        = { 'p', 'r', 'e', 'c', 'm', 'd', '\0' };
  130. Char STRcwdcmd[]        = { 'c', 'w', 'd', 'c', 'm', 'd', '\0' };
  131. Char STRperiodic[]      = { 'p', 'e', 'r', 'i', 'o', 'd', 'i', 'c', '\0' };
  132. Char STRtperiod[]       = { 't', 'p', 'e', 'r', 'i', 'o', 'd', '\0' };
  133. Char STRml[]        = { '-', 'l', '\0' };
  134. Char STRslash[]        = { '/', '\0' };
  135. Char STRdotsl[]        = { '.', '/', '\0' };
  136. Char STRdotdotsl[]    = { '.', '.', '/', '\0' };
  137. Char STRcdpath[]    = { 'c', 'd', 'p', 'a', 't', 'h', '\0' };
  138. Char STRpushdtohome[]    = { 'p', 'u', 's', 'h', 'd', 't', 'o', 'h', 'o', 'm',
  139.                 'e', '\0' };
  140. Char STRpushdsilent[]    = { 'p', 'u', 's', 'h', 'd', 's', 'i', 'l', 'e', 'n',
  141.                 't', '\0' };
  142. Char STRdextract[]    = { 'd', 'e', 'x', 't', 'r', 'a', 'c', 't', '\0' };
  143. Char STRignore_symlinks[] = { 'i', 'g', 'n', 'o', 'r', 'e', '_', 's', 'y', 'm',
  144.                 'l', 'i', 'n', 'k', 's', '\0' };
  145. Char STRchase_symlinks[] = { 'c', 'h', 'a', 's', 'e', '_', 's', 'y', 'm', 'l', 
  146.                 'i', 'n', 'k', 's', '\0' };
  147. Char STRPWD[]        = { 'P', 'W', 'D', '\0' };
  148. Char STRor2[]        = { '|', '|', '\0' };
  149. Char STRand2[]        = { '&', '&', '\0' };
  150. Char STRor[]        = { '|', '\0' };
  151. Char STRcaret[]        = { '^', '\0' };
  152. Char STRand[]        = { '&', '\0' };
  153. Char STRequal[]        = { '=', '\0' };
  154. Char STRbang[]        = { '!', '\0' };
  155. Char STRtilde[]        = { '~', '\0' };
  156. Char STRLparen[]    = { '(', '\0' };
  157. Char STRLbrace[]    = { '{', '\0' };
  158. Char STRfakecom[]    = { '{', ' ', '.', '.', '.', ' ', '}', '\0' };
  159. Char STRRbrace[]    = { '}', '\0' };
  160. Char STRPATH[]         = { 'P', 'A', 'T', 'H', '\0' };
  161. Char STRdefault[]    = { 'd', 'e', 'f', 'a', 'u', 'l', 't', '\0' };
  162. Char STRmn[]        = { '-', 'n', '\0' };
  163. Char STRminus[]        = { '-', '\0' };
  164. Char STRnoglob[]    = { 'n', 'o', 'g', 'l', 'o', 'b', '\0' };
  165. Char STRnonomatch[]    = { 'n', 'o', 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
  166. Char STRfakecom1[]    = { '`', ' ', '.', '.', '.', ' ', '`', '\0' };
  167. Char STRampm[]        = { 'a', 'm', 'p', 'm', '\0' };
  168. Char STRchild[]        = { 'c', 'h', 'i', 'l', 'd', '\0' };
  169. Char STRtime[]        = { 't', 'i', 'm', 'e', '\0' };
  170. Char STRnotify[]    = { 'n', 'o', 't', 'i', 'f', 'y', '\0' };
  171. Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v', 
  172.                 'a', 'l', 'u', 'e', '\0' };
  173. Char STRLparensp[]    = { '(', ' ', '\0' };
  174. Char STRspRparen[]    = { ' ', ')', '\0' };
  175. Char STRspace[]        = { ' ', '\0' };
  176. Char STRspor2sp[]    = { ' ', '|', '|', ' ', '\0' };
  177. Char STRspand2sp[]    = { ' ', '&', '&', ' ', '\0' };
  178. Char STRsporsp[]    = { ' ', '|', ' ', '\0' };
  179. Char STRsemisp[]    = { ';', ' ', '\0' };
  180. Char STRsemi[]        = { ';', '\0' };
  181. Char STRspLarrow2sp[]    = { ' ', '<', '<', ' ', '\0' };
  182. Char STRspLarrowsp[]    = { ' ', '<', ' ', '\0' };
  183. Char STRspRarrow2[]    = { ' ', '>', '>', '\0' };
  184. Char STRspRarrow[]    = { ' ', '>', '\0' };
  185. Char STRgt[]        = { '>', '\0' };
  186. Char STRsp3dots[]    = { ' ', '.', '.', '.', '\0' };
  187. Char STRcent2[]     = { '%', '%', '\0' };
  188. Char STRcentplus[]     = { '%', '+', '\0' };
  189. Char STRcentminus[]     = { '%', '-', '\0' };
  190. Char STRcenthash[]     = { '%', '#', '\0' };
  191. #ifdef BSDJOBS
  192. Char STRcontinue[]    = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '\0' };
  193. Char STRcontinue_args[]    = { 'c', 'o', 'n', 't', 'i', 'n', 'u', 'e', '_', 'a',
  194.                 'r', 'g', 's', '\0' };
  195. Char STRunderpause[]    = { '_', 'p', 'a', 'u', 's', 'e', '\0' };
  196. #endif
  197. Char STRbackqpwd[]    = { '`', 'p', 'w', 'd', '`', '\0' };
  198. Char STRhistchars[]    = { 'h', 'i', 's', 't', 'c', 'h', 'a', 'r', 's', '\0' };
  199. Char STRhistlit[]    = { 'h', 'i', 's', 't', 'l', 'i', 't', '\0' };
  200. Char STRUSER[]        = { 'U', 'S', 'E', 'R', '\0' };
  201. Char STRLOGNAME[]    = { 'L', 'O', 'G', 'N', 'A', 'M', 'E', '\0' };
  202. Char STRwordchars[]    = { 'w', 'o', 'r', 'd', 'c', 'h', 'a', 'r', 's', '\0' };
  203. Char STRTERM[]        = { 'T', 'E', 'R', 'M', '\0' };
  204. Char STRHOME[]        = { 'H', 'O', 'M', 'E', '\0' };
  205. Char STRbackslash_quote[] = { 'b', 'a', 'c', 'k', 's', 'l', 'a', 's', 'h', '_',
  206.                  'q', 'u', 'o', 't', 'e', '\0' };
  207. Char STRRparen[]    = { ')', '\0' };
  208. Char STRcolon[]        = { ':', '\0' };
  209. Char STRmail[]        = { 'm', 'a', 'i', 'l', '\0' };
  210. Char STRwatch[]        = { 'w', 'a', 't', 'c', 'h', '\0' };
  211.  
  212. #ifndef __MINT__
  213. Char STRsldottcshrc[]    = { '/', '.', 't', 'c', 's', 'h', 'r', 'c', '\0' };
  214. Char STRsldotcshrc[]    = { '/', '.', 'c', 's', 'h', 'r', 'c', '\0' };
  215. Char STRsldotlogin[]    = { '/', '.', 'l', 'o', 'g', 'i', 'n', '\0' };
  216. #else
  217. Char STRsldottcshrc[]    = { '/', 't', 'c', 's', 'h', '.', 'r', 'c', '\0' };
  218. Char STRsldotcshrc[]    = { '/', 'c', 's', 'h', '.', 'r', 'c', '\0' };
  219. Char STRsldotlogin[]    = { '/', 'l', 'o', 'g', 'i', 'n', '.', 'c', 's',
  220.                 'h','\0' };
  221. #endif
  222. Char STRignoreeof[]    = { 'i', 'g', 'n', 'o', 'r', 'e', 'e', 'o', 'f', '\0' };
  223. Char STRnoclobber[]    = { 'n', 'o', 'c', 'l', 'o', 'b', 'b', 'e', 'r', '\0' };
  224. Char STRhelpcommand[]    = { 'h', 'e', 'l', 'p', 'c', 'o', 'm', 'm', 'a', 'n', 
  225.                 'd', '\0' };
  226. Char STRfignore[]    = { 'f', 'i', 'g', 'n', 'o', 'r', 'e', '\0' };
  227. Char STRrecexact[]    = { 'r', 'e', 'c', 'e', 'x', 'a', 'c', 't', '\0' };
  228. Char STRlistmax[]    = { 'l', 'i', 's', 't', 'm', 'a', 'x', '\0' };
  229. Char STRlistlinks[]    = { 'l', 'i', 's', 't', 'l', 'i', 'n', 'k', 's', '\0' };
  230. Char STRDING[]        = { 'D', 'I', 'N', 'G', '!', '\0' };
  231. Char STRQNULL[]        = { '\0' | QUOTE, '\0' };
  232. Char STRcorrect[]    = { 'c', 'o', 'r', 'r', 'e', 'c', 't', '\0' };
  233. Char STRcmd[]        = { 'c', 'm', 'd', '\0' };
  234. Char STRall[]        = { 'a', 'l', 'l', '\0' };
  235. Char STRautoexpand[]    = { 'a', 'u', 't', 'o', 'e', 'x', 'p', 'a', 'n', 'd',
  236.                 '\0' };
  237. Char STRautocorrect[]    = { 'a', 'u', 't', 'o', 'c', 'o', 'r', 'r', 'e', 'c',
  238.                 't', '\0' };
  239. Char STRautolist[]    = { 'a', 'u', 't', 'o', 'l', 'i', 's', 't', '\0' };
  240. Char STRbeepcmd[]    = { 'b', 'e', 'e', 'p', 'c', 'm', 'd', '\0' };
  241. Char STRmatchbeep[]    = { 'm', 'a', 't', 'c', 'h', 'b', 'e', 'e', 'p', '\0' };
  242. Char STRnever[]        = { 'n', 'e', 'v', 'e', 'r', '\0' };
  243. Char STRnomatch[]    = { 'n', 'o', 'm', 'a', 't', 'c', 'h', '\0' };
  244. Char STRambiguous[]    = { 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 's', '\0' };
  245. Char STRnotunique[]    = { 'n', 'o', 't', 'u', 'n', 'i', 'q', 'u', 'e', '\0' };
  246. Char STRret[]        = { '\n', '\0' };
  247. Char STRnobeep[]    = { 'n', 'o', 'b', 'e', 'e', 'p', '\0' };
  248. Char STRvisiblebell[]    = { 'v', 'i', 's', 'i', 'b', 'l', 'e', 'b', 'e', 'l', 
  249.                 'l', '\0' };
  250. Char STRrecognize_only_executables[] = { 'r', 'e', 'c', 'o', 'g', 'n', 'i', 'z',
  251.                      'e', '_', 'o', 'n', 'l', 'y', '_', 'e',
  252.                      'x', 'e', 'c', 'u', 't', 'a', 'b', 'l',
  253.                      'e', 's', '\0' };
  254. Char STRnohup[]        = { 'n', 'o', 'h', 'u', 'p', '\0' };
  255. Char STRnice[]        = { 'n', 'i', 'c', 'e', '\0' };
  256. Char STRlistpathnum[]    = { 'l', 'i', 's', 't', 'p', 'a', 't', 'h', 'n', 'u', 
  257.                 'm', '\0' };
  258. Char STRshowdots[]    = { 's', 'h', 'o', 'w', 'd', 'o', 't', 's', '\0' };
  259. Char STRthen[]        = { 't', 'h', 'e', 'n', '\0' };
  260. Char STReof[]        = { '^', 'D', '\b', '\b', '\0' };
  261. Char STRlistjobs[]    = { 'l', 'i', 's', 't', 'j', 'o', 'b', 's', '\0' };
  262. Char STRlong[]        = { 'l', 'o', 'n', 'g', '\0' };
  263. Char STRwho[]        = { 'w', 'h', 'o', '\0' };
  264. Char STRrmstar[]        = { 'r', 'm', 's', 't', 'a', 'r', '\0' };
  265. Char STRrm[]            = { 'r', 'm', '\0' };
  266. Char STRshlvl[]        = { 's', 'h', 'l', 'v', 'l', '\0' };
  267. Char STRSHLVL[]        = { 'S', 'H', 'L', 'V', 'L', '\0' };
  268.  
  269. Char STRLANG[]  = { 'L', 'A', 'N', 'G', '\0' };
  270. Char STRLC_CTYPE[] = { 'L', 'C', '_', 'C', 'T', 'Y', 'P', 'E' ,'\0' };
  271. Char STRNOREBIND[] = { 'N', 'O', 'R', 'E', 'B', 'I', 'N', 'D', '\0' };
  272.  
  273. #ifdef SIG_WINDOW
  274. Char STRLINES[] = { 'L', 'I', 'N', 'E', 'S', '\0'};
  275. Char STRCOLUMNS[] = { 'C', 'O', 'L', 'U', 'M', 'N', 'S', '\0'};
  276. Char STRTERMCAP[] = { 'T', 'E', 'R', 'M', 'C', 'A', 'P', '\0'};
  277. #endif /* SIG_WINDOW */
  278.  
  279. #ifdef WARP
  280. Char STRwarp[] = { 'w', 'a', 'r', 'p', '\0' };
  281. #endif /* WARP */
  282.  
  283. #ifdef apollo
  284. Char STRSYSTYPE[] = { 'S', 'Y', 'S', 'T', 'Y', 'P', 'E', '\0' };
  285. Char STRoid[] = { 'o', 'i', 'd', '\0' };
  286. Char STRbsd43[] = { 'b', 's', 'd', '4', '.', '3', '\0' };
  287. Char STRsys53[] = { 's', 'y', 's', '5', '.', '3', '\0' };
  288. Char STRver[] = { 'v', 'e', 'r', '\0' };
  289. #endif /* apollo */
  290.  
  291. #ifdef ALTESC
  292. Char STRescchar[] = { 'e', 's', 'c', 'c', 'h', 'a', 'r', '\0' };
  293. #endif
  294.  
  295. #ifdef __MINT__
  296. Char STRdosslashes[] = { 'd', 'o', 's', 's', 'l', 'a', 's', 'h', 'e', 's',
  297.             '\0' };
  298. Char STRsuffixes[] = { 's', 'u', 'f', 'f', 'i', 'x', 'e', 's', '\0' };
  299. Char STRSUFFIXES[] = { 'S', 'U', 'F', 'F', 'I', 'X', 'E', 'S', '\0' };
  300. #endif
  301.